package com.admin.dao.librarydao;

import com.admin.dto.BookTopListBean;
import com.admin.dto.UserSendBean;
import com.pojo.UserSendMsgBean;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface LibraryPageDaoInF {
    /**
     * 留言的列表
     * @param sql
     * @param conn
     * @param
     * @return
     * @throws SQLException
     */
    List<UserSendBean> getUserMsgInfo(String sql, Connection conn) throws SQLException;

    String  getUserNameInfo(String sql, Connection conn,Long userid) throws SQLException;

    /**
     * 用于销量的排行
     * @param sql
     * @param conn
     * @return
     * @throws SQLException
     */
    List<BookTopListBean> BookTopInfo(String sql, Connection conn) throws SQLException;


}
